<?php

	class app_collocate_goods extends app
	{
		var $ver = 1.1;
		var $name = '搭配商品';
		var $author = 'dev@shopex.cn';
		//var $desc='搭配商品';
		//var $website = 'http://www.shopex.cn/';
		
		function ctl_mapper(){
			return array();
		}

		function output_modifiers()
		{
			return array(
				'admin:goods/product:addNew'=>'modifiers:add',
				'admin:goods/product:edit'=>'modifiers:edit',
				'shop:product:index'=>'modifiers:product_index',
				'shop:cart:addGoodsToCart'=>'modifiers:cart_addGoodsToCart',
				'shop:cart:index'=>'modifiers:cart_index',
				'shop:cart:updateCart'=>'modifiers:cart_updateCart',
				'shop:cart:checkout'=>'modifiers:cart_checkout'
			);
		}

		function listener()
		{
			return array('trading/goods:save'=>'listener:save');
		}
	}

?>